
package cn.nubia.admin.application.bean;

import cn.nubia.admin.common.mybatis.annotations.Column;
import cn.nubia.admin.common.mybatis.annotations.Id;
import cn.nubia.admin.common.mybatis.annotations.Table;

import java.io.Serializable;

/**
 * Created by justin on 15/6/30.
 * CREATE TABLE `nb_resolution_map` (
 `id` int(11) NOT NULL AUTO_INCREMENT,
 `width` int(11) DEFAULT NULL COMMENT '宽的像素',
 `height` int(11) DEFAULT NULL COMMENT '高的像素',
 `size` varchar(20) DEFAULT NULL COMMENT '尺寸描述',
 `value` int(11) DEFAULT NULL COMMENT '范围值',
 `platform_id` int(11) DEFAULT NULL COMMENT '平台id',
 `is_delete` tinyint(4) DEFAULT NULL COMMENT '1-删除 0-未删除',
 PRIMARY KEY (`id`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='设备分辨率映射表'
 */
@Table(value = "nb_resolution_map")
public class ResolutionMap implements Serializable{

    private static final long serialVersionUID = -8244661101951482489L;


    @Id(value = "id")
    private Integer id;
    @Column(value = "width")
    private Integer width;//宽的像素
    @Column(value = "height")
    private Integer height;//高的像素
    @Column(value = "size")
    private String size;//尺寸描述
    @Column(value = "value")
    private Integer value;//范围值
    @Column(value = "platform_id")
    private Integer platformId;//平台id
    @Column(value = "is_delete")
    private Integer isDelete;//1-删除 0-未删除

    public Integer getId() {
     return id;
    }

    public void setId(Integer id) {
     this.id = id;
    }

    public Integer getWidth() {
     return width;
    }

    public void setWidth(Integer width) {
     this.width = width;
    }

    public Integer getHeight() {
     return height;
    }

    public void setHeight(Integer height) {
     this.height = height;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public Integer getValue() {
     return value;
    }

    public void setValue(Integer value) {
     this.value = value;
    }

    public Integer getPlatformId() {
     return platformId;
    }

    public void setPlatformId(Integer platformId) {
     this.platformId = platformId;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
}
